class CreateCategories < ActiveRecord::Migration
  def self.up
    create_table :categories do |t|
      t.string :label, :limit => 64,  :null => false
      t.string :url, :img_url, :limit => 128
      t.text :xsl
      t.integer :category_id
      t.timestamps
    end
  end

  def self.down
    drop_table :categories
  end
end
